package cn.gene.timeyan.pojo.coo.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 浜掑姪璐翠俊鎭
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hms_cooperation")
public class Cooperation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "help_id", type = IdType.AUTO)
    private Long helpId;

    /**
     * 鍙戝笘浜篒D
     */
    private Long userId;

    /**
     * 鏍囬?
     */
    private String helpTitle;

    /**
     * 鍐呭?
     */
    private String helpContent;

    /**
     * 寮??鏃堕棿
     */
    private Date startTime;

    /**
     * 缁撴潫鏃堕棿
     */
    private Date endTime;

    /**
     * 绫诲瀷(0涓??涓?紝1涓??澶?
     */
    private String applyType;

    /**
     * 鍦板潃
     */
    private String address;

    /**
     * 瀛︽牎
     */
    private String school;

    /**
     * 闅惧害 涓婇檺5
     */
    private String difficulty;

    /**
     * 鎻??涓婇檺,涓婇檺10
     */
    private Integer applyLimit;

    private Integer applyBelimit;

    /**
     * 妯″潡绫诲埆
     */
    private Long moduleId;

    /**
     * 鐘舵?锛?鏈?畬鎴愩?1宸插畬鎴愶級
     */
    private String helpState;

    /**
     * 鎶ラ叕
     */
    private Integer rewardValue;

    /**
     * 鎶ラ叕绫诲瀷锛堢Н鍒嗐?浜烘皯甯佲?锛
     */
    private String rewardType;

    /**
     * 鍒涘缓鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 淇?敼鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
